package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

/**
 * Created by ASUS on 2019/11/26.
 */

public class CommentListBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * page : {"totalCount":1,"pageSize":10,"totalPage":1,"currPage":1,"list":[{"id":14869,"weight":0,"contentId":10234,"userId":3502,"comment":"都是限行惹的祸","position":1,"replyUserId":0,"replyCommentId":0,"likeSum":0,"createTime":"2019-08-13T01:04:52.000 0000","commentSum":1,"isLike":0,"type":1,"nickname":"九天揽月","avatar":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132","replyNickname":null,"replyAvatar":null,"lowerComment":[{"id":15195,"weight":0,"contentId":10234,"userId":2682,"comment":"人的原因，与制度无关","position":2,"replyUserId":3502,"replyCommentId":14869,"likeSum":0,"createTime":"2019-08-19T02:25:45.000 0000","commentSum":1,"isLike":null,"type":1,"nickname":"和我说话请投币","avatar":"http://qiniu.qmdl666.com/15034002453N20199211577345.jpg?imageView2/1/w/100/h/100","replyNickname":"九天揽月","replyAvatar":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132","lowerComment":null}]},{"id":14868,"weight":0,"contentId":10234,"userId":4513,"comment":"804路公交一男一女因站坐吵架，当前公交上车拥挤成风，叫骂成风，与文明城市背道而驰。","position":1,"replyUserId":0,"replyCommentId":0,"likeSum":0,"createTime":"2019-08-12T23:50:46.000 0000","commentSum":0,"isLike":0,"type":1,"nickname":"11554513","avatar":"","replyNickname":null,"replyAvatar":null,"lowerComment":null}]}
     */

    private String msg;
    private int code;
    private PageBean page;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean implements Serializable{
        /**
         * totalCount : 1
         * pageSize : 10
         * totalPage : 1
         * currPage : 1
         * list : [{"id":14869,"weight":0,"contentId":10234,"userId":3502,"comment":"都是限行惹的祸","position":1,"replyUserId":0,"replyCommentId":0,"likeSum":0,"createTime":"2019-08-13T01:04:52.000 0000","commentSum":1,"isLike":0,"type":1,"nickname":"九天揽月","avatar":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132","replyNickname":null,"replyAvatar":null,"lowerComment":[{"id":15195,"weight":0,"contentId":10234,"userId":2682,"comment":"人的原因，与制度无关","position":2,"replyUserId":3502,"replyCommentId":14869,"likeSum":0,"createTime":"2019-08-19T02:25:45.000 0000","commentSum":1,"isLike":null,"type":1,"nickname":"和我说话请投币","avatar":"http://qiniu.qmdl666.com/15034002453N20199211577345.jpg?imageView2/1/w/100/h/100","replyNickname":"九天揽月","replyAvatar":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132","lowerComment":null}]},{"id":14868,"weight":0,"contentId":10234,"userId":4513,"comment":"804路公交一男一女因站坐吵架，当前公交上车拥挤成风，叫骂成风，与文明城市背道而驰。","position":1,"replyUserId":0,"replyCommentId":0,"likeSum":0,"createTime":"2019-08-12T23:50:46.000 0000","commentSum":0,"isLike":0,"type":1,"nickname":"11554513","avatar":"","replyNickname":null,"replyAvatar":null,"lowerComment":null}]
         */

        private int totalCount;
        private int pageSize;
        private int totalPage;
        private int currPage;
        private List<ListBean> list;

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable{
            /**
             * id : 14869
             * weight : 0
             * contentId : 10234
             * userId : 3502
             * comment : 都是限行惹的祸
             * position : 1
             * replyUserId : 0
             * replyCommentId : 0
             * likeSum : 0
             * createTime : 2019-08-13T01:04:52.000 0000
             * commentSum : 1
             * isLike : 0
             * type : 1
             * nickname : 九天揽月
             * avatar : http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132
             * replyNickname : null
             * replyAvatar : null
             * lowerComment : [{"id":15195,"weight":0,"contentId":10234,"userId":2682,"comment":"人的原因，与制度无关","position":2,"replyUserId":3502,"replyCommentId":14869,"likeSum":0,"createTime":"2019-08-19T02:25:45.000 0000","commentSum":1,"isLike":null,"type":1,"nickname":"和我说话请投币","avatar":"http://qiniu.qmdl666.com/15034002453N20199211577345.jpg?imageView2/1/w/100/h/100","replyNickname":"九天揽月","replyAvatar":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132","lowerComment":null}]
             */

            private int id;
            private int weight;
            private int contentId;
            private int userId;
            private String comment;
            private int position;
            private int replyUserId;
            private int replyCommentId;
            private int likeSum;
            private String createTime;
            private int commentSum;
            private int isLike;
            private int type;
            private String nickname;
            private String avatar;
            private String replyNickname;
            private Object replyAvatar;
            private LinkedList<LowerCommentBean> lowerComment;
            private String remindJson;

            public String getRemindJson() {
                return remindJson==null?"[]":remindJson;
            }

            public void setRemindJson(String remindJson) {
                this.remindJson = remindJson;
            }

//            private List<RemindJson> list;
//
//            public List<RemindJson> getList() {
//                if(list==null){
//                    list = new ArrayList<>();
//                }
//                return list;
//            }
//
//            public void setList(List<RemindJson> list) {
//                this.list = list;
//            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getWeight() {
                return weight;
            }

            public void setWeight(int weight) {
                this.weight = weight;
            }

            public int getContentId() {
                return contentId;
            }

            public void setContentId(int contentId) {
                this.contentId = contentId;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getComment() {
                return comment;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public int getReplyUserId() {
                return replyUserId;
            }

            public void setReplyUserId(int replyUserId) {
                this.replyUserId = replyUserId;
            }

            public int getReplyCommentId() {
                return replyCommentId;
            }

            public void setReplyCommentId(int replyCommentId) {
                this.replyCommentId = replyCommentId;
            }

            public int getLikeSum() {
                return likeSum;
            }

            public void setLikeSum(int likeSum) {
                this.likeSum = likeSum;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getCommentSum() {
                return commentSum;
            }

            public void setCommentSum(int commentSum) {
                this.commentSum = commentSum;
            }

            public int getIsLike() {
                return isLike;
            }

            public void setIsLike(int isLike) {
                this.isLike = isLike;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getReplyNickname() {
                return replyNickname;
            }

            public void setReplyNickname(String replyNickname) {
                this.replyNickname = replyNickname;
            }

            public Object getReplyAvatar() {
                return replyAvatar;
            }

            public void setReplyAvatar(Object replyAvatar) {
                this.replyAvatar = replyAvatar;
            }

            public LinkedList<LowerCommentBean> getLowerComment() {
                return lowerComment;
            }

            public void setLowerComment(LinkedList<LowerCommentBean> lowerComment) {
                this.lowerComment = lowerComment;
            }

            public static class LowerCommentBean implements Serializable{
                /**
                 * id : 15195
                 * weight : 0
                 * contentId : 10234
                 * userId : 2682
                 * comment : 人的原因，与制度无关
                 * position : 2
                 * replyUserId : 3502
                 * replyCommentId : 14869
                 * likeSum : 0
                 * createTime : 2019-08-19T02:25:45.000 0000
                 * commentSum : 1
                 * isLike : null
                 * type : 1
                 * nickname : 和我说话请投币
                 * avatar : http://qiniu.qmdl666.com/15034002453N20199211577345.jpg?imageView2/1/w/100/h/100
                 * replyNickname : 九天揽月
                 * replyAvatar : http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTK4OqftFsRImcMEricsOUgPTb5b7xjWXiajoHTlKPyefMtZhvdibemtw0ib4PwwXy0UQFHONNlWGOia9XA/132
                 * lowerComment : null
                 */

                private int id;
                private int weight;
                private int contentId;
                private int userId;
                private String comment;
                private int position;
                private int replyUserId;
                private int replyCommentId;
                private int likeSum;
                private String createTime;
                private int commentSum;
                private Object isLike;
                private int type;
                private String nickname;
                private String avatar;
                private String replyNickname;
                private String replyAvatar;
                private Object lowerComment;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getWeight() {
                    return weight;
                }

                public void setWeight(int weight) {
                    this.weight = weight;
                }

                public int getContentId() {
                    return contentId;
                }

                public void setContentId(int contentId) {
                    this.contentId = contentId;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public String getComment() {
                    return comment;
                }

                public void setComment(String comment) {
                    this.comment = comment;
                }

                public int getPosition() {
                    return position;
                }

                public void setPosition(int position) {
                    this.position = position;
                }

                public int getReplyUserId() {
                    return replyUserId;
                }

                public void setReplyUserId(int replyUserId) {
                    this.replyUserId = replyUserId;
                }

                public int getReplyCommentId() {
                    return replyCommentId;
                }

                public void setReplyCommentId(int replyCommentId) {
                    this.replyCommentId = replyCommentId;
                }

                public int getLikeSum() {
                    return likeSum;
                }

                public void setLikeSum(int likeSum) {
                    this.likeSum = likeSum;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public int getCommentSum() {
                    return commentSum;
                }

                public void setCommentSum(int commentSum) {
                    this.commentSum = commentSum;
                }

                public Object getIsLike() {
                    return isLike;
                }

                public void setIsLike(Object isLike) {
                    this.isLike = isLike;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public String getReplyNickname() {
                    return replyNickname;
                }

                public void setReplyNickname(String replyNickname) {
                    this.replyNickname = replyNickname;
                }

                public String getReplyAvatar() {
                    return replyAvatar;
                }

                public void setReplyAvatar(String replyAvatar) {
                    this.replyAvatar = replyAvatar;
                }

                public Object getLowerComment() {
                    return lowerComment;
                }

                public void setLowerComment(Object lowerComment) {
                    this.lowerComment = lowerComment;
                }

                private String remindJson;

                public String getRemindJson() {
                    return remindJson;
                }

                public void setRemindJson(String remindJson) {
                    this.remindJson = remindJson;
                }

//                private List<RemindJson> list;
//
//                public List<RemindJson> getList() {
//                    if(list==null){
//                        list = new ArrayList<>();
//                    }
//                    return list;
//                }
//
//                public void setList(List<RemindJson> list) {
//                    this.list = list;
//                }
            }
        }
    }
}
